// import Mock from 'mockjs'

// 登录
export function login() {
  return {
    // isOpen: false,
    url: 'auth/login',
    type: 'post',
    data: {
      msg: 'success',
      code: '0',
      data:
        'BearereyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjExMDUzNjI3NTc3OTY5Mjk1MzcsInN1YiI6IjExMDUzNjI3NTc3OTY5Mjk1MzciLCJsb2dpbl9uYW1lIjoiYWRtaW4iLCJhdmF0b3IiOiIiLCJyZWFsX25hbWUiOiIiLCJleHAiOjE1NTMwNDk0MTAsImlhdCI6MTU1Mjk2MzAxMH0.2vaKX67-2jLVUiY8sEX5V6TpimSK98yrAN-A2Dzw_oE'
    }
  }
}

// 获取验证码
export function captcha() {
  return {
    // isOpen: false,
    url: 'auth/captcha',
    type: 'get',
    data: {
      msg: 'success',
      code: '0',
      data: {
        captcha:
          '',
        captchaId: 'd9767dc4691a4afa89c94f34f0939508'
      }
    }
  }
}

// 上传
export function upload() {
  return {
    // isOpen: false,
    url: 'auth/api/v2/io/springmvc/uploads',
    // type: 'post',
    data: {
      msg: 'success',
      code: '0',
      data: {
        fileId: 4
      }
    }
  }
}

// 获取用户信息
export function getUser() {
  return {
    // isOpen: false,
    url: 'auth/currentPrimes',
    type: 'get',
    data: {
      code: '0',
      data: {
        cnName: '\u59D3\u540D111',
        loginUname: 'admin',
        primes: [
          'sys:sysDict:add',
          'auth:comp:view',
          'sys:sysDictData:update',
          'sys:menu:update',
          'auth:userMgr:delete',
          'sys:sysDictData:delete',
          'sys:menu:delete',
          'sys:menu:add',
          'auth:user:view',
          'sys:clientDict:delete',
          'auth:dept:add',
          'auth:userMgr:update',
          'sys:clientDict:update',
          'sys:role:view',
          'auth:userMgr:add',
          'sys:sysDictData:add',
          'sys:clientDictData:view',
          'sys:menu:view',
          'auth:comp:update',
          'sys:role:add',
          'sys:sysDictData:view',
          'sys:clientDict:view',
          'auth:comp:delete',
          'auth:userMgr:view',
          'sys:role:update',
          'auth:dept:delete',
          'auth:comp:add',
          'sys:sysDict:view',
          'auth:dept:update',
          'auth:dept:view',
          'sys:clientDictData:delete',
          'sys:sysDict:delete',
          'sys:clientDictData:add',
          'sys:role:delete',
          'sys:clientDictData:update',
          'sys:clientDict:add',
          'auth:view',
          'sys:sysDict:update',
          'auth:user:update'
        ],
        sysMenus: [
          {
            cmntStr: '',
            createTm: '2019-03-25 10:21:26',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: 'iconUserName',
            menuId: 75,
            menuNm: '\u6211\u7684\u4f18\u54de',
            menuRouteName: 'uplus',
            menuType: 2,
            parentMenuId: 0,
            sortNo: 2000,
            treeLevel: 1,
            updateTm: '2019-03-25 10:31:17',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-20 11:45:14',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: 'iconHome',
            menuId: 20,
            menuNm: '\u4E3B\u9875',
            menuRouteName: 'home',
            menuType: 2,
            parentMenuId: 0,
            sortNo: 1000,
            treeLevel: 1,
            updateTm: '2019-03-20 17:01:24',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-25 10:27:27',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: 'iconDatabase',
            menuId: 76,
            menuNm: '\u6570\u636E\u91C7\u96C6',
            menuRouteName: '',
            menuType: 1,
            parentMenuId: 0,
            sortNo: 3000,
            treeLevel: 1,
            updateTm: '2019-03-25 10:31:25',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-20 11:45:38',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: 'iconSetting',
            menuId: 21,
            menuNm: '\u7CFB\u7EDF\u7BA1\u7406',
            menuRouteName: '',
            menuType: 1,
            parentMenuId: 0,
            sortNo: 4000,
            treeLevel: 1,
            updateTm: '2019-03-25 10:31:33',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-20 11:51:36',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: 'iconEarth',
            menuId: 29,
            menuNm: '\u7F51\u7AD9\u7EDF\u8BA1',
            menuRouteName: '',
            menuType: 1,
            parentMenuId: 0,
            sortNo: 5000,
            treeLevel: 1,
            updateTm: '2019-03-25 10:31:39',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-22 14:56:28',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 74,
            menuNm: '\u4E2A\u4EBA\u4E2D\u5FC3',
            menuRouteName: '',
            menuType: 2,
            parentMenuId: 0,
            sortNo: 9999,
            treeLevel: 1,
            updateTm: '2019-03-25 10:31:50',
            updaterId: '1105362757796929537',
            visible: false
          },
          {
            cmntStr: '',
            createTm: '2019-03-25 10:30:42',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 79,
            menuNm: '\u8FDE\u63A5\u5668\u7BA1\u7406',
            menuRouteName: 'daq-linker',
            menuType: 2,
            parentMenuId: 76,
            sortNo: 400,
            treeLevel: 2,
            updateTm: '2019-03-27 15:46:56',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-20 11:47:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 23,
            menuNm: '\u90E8\u95E8\u7BA1\u7406',
            menuRouteName: 'system-dept',
            menuType: 2,
            parentMenuId: 21,
            sortNo: 20,
            treeLevel: 2,
            updateTm: '2019-03-20 16:59:31',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-20 11:49:43',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 27,
            menuNm: '\u7CFB\u7EDF\u5B57\u5178',
            menuRouteName: 'system-dict-sys',
            menuType: 2,
            parentMenuId: 21,
            sortNo: 60,
            treeLevel: 2,
            updateTm: '2019-03-20 16:59:39',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-25 10:31:00',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 80,
            menuNm: '\u91C7\u96C6\u5668\u7BA1\u7406',
            menuRouteName: 'daq-collector',
            menuType: 2,
            parentMenuId: 76,
            sortNo: 500,
            treeLevel: 2,
            updateTm: '2019-03-27 15:46:49',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-20 11:47:39',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 24,
            menuNm: '\u516C\u53F8\u7BA1\u7406',
            menuRouteName: 'system-comp',
            menuType: 2,
            parentMenuId: 21,
            sortNo: 30,
            treeLevel: 2,
            updateTm: '2019-03-20 17:01:57',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-20 11:50:00',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 28,
            menuNm: '\u7528\u6237\u5B57\u5178',
            menuRouteName: 'system-dict-user',
            menuType: 2,
            parentMenuId: 21,
            sortNo: 70,
            treeLevel: 2,
            updateTm: '2019-03-20 16:59:42',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-27 15:46:35',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 81,
            menuNm: '\u4E3B\u673A\u7BA1\u7406',
            menuRouteName: 'daq-host',
            menuType: 2,
            parentMenuId: 76,
            sortNo: 300,
            treeLevel: 2,
            updateTm: '2019-03-27 15:46:35',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-20 11:48:27',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 25,
            menuNm: '\u89D2\u8272\u7BA1\u7406',
            menuRouteName: 'system-role',
            menuType: 2,
            parentMenuId: 21,
            sortNo: 40,
            treeLevel: 2,
            updateTm: '2019-03-20 17:00:01',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-25 10:29:44',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 77,
            menuNm: '\u5BB9\u5668\u7BA1\u7406',
            menuRouteName: 'daq-container',
            menuType: 2,
            parentMenuId: 76,
            sortNo: 100,
            treeLevel: 2,
            updateTm: '2019-03-25 10:29:44',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-20 11:46:17',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 22,
            menuNm: '\u7528\u6237\u7BA1\u7406',
            menuRouteName: 'system-user',
            menuType: 2,
            parentMenuId: 21,
            sortNo: 10,
            treeLevel: 2,
            updateTm: '2019-03-22 14:52:33',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-20 11:49:00',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 26,
            menuNm: '\u83DC\u5355\u8D44\u6E90',
            menuRouteName: 'system-menu',
            menuType: 2,
            parentMenuId: 21,
            sortNo: 50,
            treeLevel: 2,
            updateTm: '2019-03-20 16:59:36',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-20 11:51:56',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 30,
            menuNm: '\u7F51\u7AD9\u6982\u51B5',
            menuRouteName: 'record-survey',
            menuType: 2,
            parentMenuId: 29,
            sortNo: 10,
            treeLevel: 2,
            updateTm: '2019-03-22 14:55:15',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-25 10:30:10',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: '',
            menuHref: '',
            menuIcon: '',
            menuId: 78,
            menuNm: '\u5E73\u53F0\u7BA1\u7406',
            menuRouteName: 'daq-platform',
            menuType: 2,
            parentMenuId: 76,
            sortNo: 200,
            treeLevel: 2,
            updateTm: '2019-03-25 10:30:10',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:45:33',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:dept:delete',
            menuHref: '',
            menuIcon: '',
            menuId: 43,
            menuNm: '\u5220\u9664\u90E8\u95E8',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 23,
            sortNo: 24,
            treeLevel: 3,
            updateTm: '2019-03-21 20:45:33',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:49:48',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:userMgr:add',
            menuHref: '',
            menuIcon: '',
            menuId: 47,
            menuNm: '\u589E\u52A0\u7528\u6237',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 22,
            sortNo: 15,
            treeLevel: 3,
            updateTm: '2019-03-21 20:49:48',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:clientDictData:add',
            menuHref: '',
            menuIcon: '',
            menuId: 51,
            menuNm: '\u65B0\u589E\u7528\u6237\u5B57\u5178\u6570\u636E',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 28,
            sortNo: 72,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:clientDict:add',
            menuHref: '',
            menuIcon: '',
            menuId: 55,
            menuNm: '\u65B0\u589E\u7528\u6237\u5B57\u5178',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 28,
            sortNo: 76,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:sysDictData:add',
            menuHref: '',
            menuIcon: '',
            menuId: 59,
            menuNm: '\u65B0\u589E\u7CFB\u7EDF\u5B57\u5178\u6570\u636E',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 27,
            sortNo: 62,
            treeLevel: 3,
            updateTm: '2019-03-21 21:05:32',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:sysDict:add',
            menuHref: '',
            menuIcon: '',
            menuId: 63,
            menuNm: '\u65B0\u589E\u7CFB\u7EDF\u5B57\u5178',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 27,
            sortNo: 66,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:menu:add',
            menuHref: '',
            menuIcon: '',
            menuId: 67,
            menuNm: '\u65B0\u589E\u83DC\u5355',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 26,
            sortNo: 52,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:19:11',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:comp:view',
            menuHref: '',
            menuIcon: '',
            menuId: 35,
            menuNm: '\u67E5\u770B\u516C\u53F8',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 24,
            sortNo: 31,
            treeLevel: 3,
            updateTm: '2019-03-21 20:25:31',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:role:add',
            menuHref: '',
            menuIcon: '',
            menuId: 71,
            menuNm: '\u65B0\u589E\u89D2\u8272',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 25,
            sortNo: 42,
            treeLevel: 3,
            updateTm: '2019-03-21 21:18:14',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:37:19',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:view',
            menuHref: '',
            menuIcon: '',
            menuId: 39,
            menuNm:
              '\u83B7\u53D6\u5F53\u524D\u7528\u6237\u4FE1\u606F\uFF0C\u5305\u62EC\u83DC\u5355\u548C\u6743\u9650\u5217\u8868',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 22,
            sortNo: 11,
            treeLevel: 3,
            updateTm: '2019-03-21 20:37:30',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:46:48',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:user:update',
            menuHref: '',
            menuIcon: '',
            menuId: 44,
            menuNm: '\u4FEE\u6539\u5BC6\u7801',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 22,
            sortNo: 12,
            treeLevel: 3,
            updateTm: '2019-03-21 20:46:48',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:50:44',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:userMgr:update',
            menuHref: '',
            menuIcon: '',
            menuId: 48,
            menuNm: '\u66F4\u65B0\u7528\u6237',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 22,
            sortNo: 16,
            treeLevel: 3,
            updateTm: '2019-03-21 20:51:23',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:clientDictData:update',
            menuHref: '',
            menuIcon: '',
            menuId: 52,
            menuNm: '\u66F4\u65B0\u7528\u6237\u5B57\u5178\u6570\u636E',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 28,
            sortNo: 73,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:clientDict:update',
            menuHref: '',
            menuIcon: '',
            menuId: 56,
            menuNm: '\u66F4\u65B0\u7528\u6237\u5B57\u5178',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 28,
            sortNo: 77,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:sysDictData:update',
            menuHref: '',
            menuIcon: '',
            menuId: 60,
            menuNm: '\u66F4\u65B0\u7CFB\u7EDF\u5B57\u5178\u6570\u636E',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 27,
            sortNo: 63,
            treeLevel: 3,
            updateTm: '2019-03-21 21:05:38',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:sysDict:update',
            menuHref: '',
            menuIcon: '',
            menuId: 64,
            menuNm: '\u66F4\u65B0\u7CFB\u7EDF\u5B57\u5178',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 27,
            sortNo: 67,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:menu:update',
            menuHref: '',
            menuIcon: '',
            menuId: 68,
            menuNm: '\u66F4\u65B0\u83DC\u5355',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 26,
            sortNo: 53,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:21:59',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:comp:add',
            menuHref: '',
            menuIcon: '',
            menuId: 36,
            menuNm: '\u65B0\u589E\u516C\u53F8',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 24,
            sortNo: 32,
            treeLevel: 3,
            updateTm: '2019-03-21 20:25:36',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:role:update',
            menuHref: '',
            menuIcon: '',
            menuId: 72,
            menuNm: '\u66F4\u65B0\u89D2\u8272',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 25,
            sortNo: 43,
            treeLevel: 3,
            updateTm: '2019-03-21 21:18:22',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:41:39',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:dept:view',
            menuHref: '',
            menuIcon: '',
            menuId: 40,
            menuNm: '\u67E5\u770B\u90E8\u95E8',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 23,
            sortNo: 21,
            treeLevel: 3,
            updateTm: '2019-03-21 20:41:39',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:47:22',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:user:view',
            menuHref: '',
            menuIcon: '',
            menuId: 45,
            menuNm: '\u5F53\u524D\u7528\u6237\u4E2A\u4EBA\u8BE6\u7EC6\u4FE1\u606F',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 22,
            sortNo: 13,
            treeLevel: 3,
            updateTm: '2019-03-21 20:47:22',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:51:15',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:userMgr:delete',
            menuHref: '',
            menuIcon: '',
            menuId: 49,
            menuNm: '\u5220\u9664\u7528\u6237',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 22,
            sortNo: 17,
            treeLevel: 3,
            updateTm: '2019-03-21 20:51:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:clientDictData:delete',
            menuHref: '',
            menuIcon: '',
            menuId: 53,
            menuNm: '\u5220\u9664\u7528\u6237\u5B57\u5178\u6570\u636E',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 28,
            sortNo: 74,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:clientDict:delete',
            menuHref: '',
            menuIcon: '',
            menuId: 57,
            menuNm: '\u5220\u9664\u7528\u6237\u5B57\u5178',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 28,
            sortNo: 78,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:sysDictData:delete',
            menuHref: '',
            menuIcon: '',
            menuId: 61,
            menuNm: '\u5220\u9664\u7CFB\u7EDF\u5B57\u5178\u6570\u636E',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 27,
            sortNo: 64,
            treeLevel: 3,
            updateTm: '2019-03-21 21:05:45',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:sysDict:delete',
            menuHref: '',
            menuIcon: '',
            menuId: 65,
            menuNm: '\u5220\u9664\u7CFB\u7EDF\u5B57\u5178',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 27,
            sortNo: 68,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:menu:delete',
            menuHref: '',
            menuIcon: '',
            menuId: 69,
            menuNm: '\u5220\u9664\u83DC\u5355',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 26,
            sortNo: 54,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:24:23',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:comp:update',
            menuHref: '',
            menuIcon: '',
            menuId: 37,
            menuNm: '\u66F4\u65B0\u516C\u53F8',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 24,
            sortNo: 33,
            treeLevel: 3,
            updateTm: '2019-03-21 20:25:39',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:role:delete',
            menuHref: '',
            menuIcon: '',
            menuId: 73,
            menuNm: '\u5220\u9664\u89D2\u8272',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 25,
            sortNo: 44,
            treeLevel: 3,
            updateTm: '2019-03-21 21:18:30',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:42:46',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:dept:add',
            menuHref: '',
            menuIcon: '',
            menuId: 41,
            menuNm: '\u589E\u52A0\u90E8\u95E8',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 23,
            sortNo: 22,
            treeLevel: 3,
            updateTm: '2019-03-21 20:44:33',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:48:58',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:userMgr:view',
            menuHref: '',
            menuIcon: '',
            menuId: 46,
            menuNm: '\u67E5\u770B\u7528\u6237',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 22,
            sortNo: 14,
            treeLevel: 3,
            updateTm: '2019-03-21 20:49:55',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:clientDictData:view',
            menuHref: '',
            menuIcon: '',
            menuId: 50,
            menuNm: '\u67E5\u770B\u7528\u6237\u5B57\u5178\u6570\u636E',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 28,
            sortNo: 71,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:clientDict:view',
            menuHref: '',
            menuIcon: '',
            menuId: 54,
            menuNm: '\u67E5\u770B\u7528\u6237\u5B57\u5178',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 28,
            sortNo: 75,
            treeLevel: 3,
            updateTm: '2019-03-21 21:06:54',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:sysDictData:view',
            menuHref: '',
            menuIcon: '',
            menuId: 58,
            menuNm: '\u67E5\u770B\u7CFB\u7EDF\u5B57\u5178\u6570\u636E',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 27,
            sortNo: 61,
            treeLevel: 3,
            updateTm: '2019-03-21 21:06:26',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:sysDict:view',
            menuHref: '',
            menuIcon: '',
            menuId: 62,
            menuNm: '\u67E5\u770B\u7CFB\u7EDF\u5B57\u5178',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 27,
            sortNo: 65,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:menu:view',
            menuHref: '',
            menuIcon: '',
            menuId: 66,
            menuNm: '\u67E5\u770B\u83DC\u5355',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 26,
            sortNo: 51,
            treeLevel: 3,
            updateTm: '2019-03-21 20:54:29',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:54:18',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'sys:role:view',
            menuHref: '',
            menuIcon: '',
            menuId: 70,
            menuNm: '\u67E5\u770B\u89D2\u8272',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 25,
            sortNo: 41,
            treeLevel: 3,
            updateTm: '2019-03-21 21:18:08',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:25:01',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:comp:delete',
            menuHref: '',
            menuIcon: '',
            menuId: 38,
            menuNm: '\u5220\u9664\u516C\u53F8',
            menuRouteName: '',
            menuType: 1,
            parentMenuId: 24,
            sortNo: 34,
            treeLevel: 3,
            updateTm: '2019-03-21 20:25:42',
            updaterId: '1105362757796929537',
            visible: true
          },
          {
            cmntStr: '',
            createTm: '2019-03-21 20:43:08',
            creatorId: '1105362757796929537',
            custom: '',
            encrypyData: '',
            menuFlag: 'auth:dept:update',
            menuHref: '',
            menuIcon: '',
            menuId: 42,
            menuNm: '\u66F4\u65B0\u90E8\u95E8',
            menuRouteName: '',
            menuType: 3,
            parentMenuId: 23,
            sortNo: 23,
            treeLevel: 3,
            updateTm: '2019-03-21 20:45:16',
            updaterId: '1105362757796929537',
            visible: true
          }
        ],
        userId: '1105362757796929537'
      },
      msg: '\u64CD\u4F5C\u6210\u529F'
    }
  }
}

// 获取字典信息
export function getDict() {
  return {
    // isOpen: false,
    url: 'sys/sysDict/all',
    type: 'get',
    data: {
      code: '0',
      data: [
        {
          cmntStr: '',
          dictId: 1,
          dictNm: '\u7528\u6237\u72B6\u6001',
          dictStatus: 0,
          dictType: 'auth_user_status',
          sysDict: true,
          sysDictDataDTOS: [
            { cmntStr: '', dictDataId: 1, dictDataStatus: 0, dictId: 1, dictKey: 0, dictTag: '\u6B63\u5E38' },
            { cmntStr: '', dictDataId: 2, dictDataStatus: 0, dictId: 1, dictKey: 1, dictTag: '\u505C\u7528' }
          ]
        },
        {
          cmntStr: '\u8868\u793A\u662F\u5426\u4E3A\u7CFB\u7EDF\u7528\u6237',
          dictId: 2,
          dictNm: '\u7528\u6237\u7C7B\u578B',
          dictStatus: 0,
          dictType: 'auth_user_type',
          sysDict: true,
          sysDictDataDTOS: [
            {
              cmntStr: '',
              dictDataId: 3,
              dictDataStatus: 0,
              dictId: 2,
              dictKey: 0,
              dictTag: '\u975E\u7CFB\u7EDF\u7528\u6237'
            },
            {
              cmntStr: '',
              dictDataId: 4,
              dictDataStatus: 0,
              dictId: 2,
              dictKey: 1,
              dictTag: '\u7CFB\u7EDF\u7528\u6237'
            }
          ]
        },
        {
          cmntStr: '',
          dictId: 3,
          dictNm: '\u72B6\u6001',
          dictStatus: 0,
          dictType: 'status',
          sysDict: true,
          sysDictDataDTOS: [
            { cmntStr: '', dictDataId: 5, dictDataStatus: 0, dictId: 3, dictKey: 0, dictTag: '\u6B63\u5E38' },
            { cmntStr: '', dictDataId: 6, dictDataStatus: 0, dictId: 3, dictKey: 1, dictTag: '\u505C\u7528' }
          ]
        },
        {
          cmntStr: '',
          dictId: 4,
          dictNm: '\u516C\u53F8\u7C7B\u578B',
          dictStatus: 0,
          dictType: 'auth_comp_type',
          sysDict: false,
          sysDictDataDTOS: [
            {
              cmntStr: '',
              dictDataId: 7,
              dictDataStatus: 0,
              dictId: 4,
              dictKey: 1,
              dictTag: '\u7701\u7EA7\u516C\u53F8'
            },
            {
              cmntStr: '',
              dictDataId: 8,
              dictDataStatus: 0,
              dictId: 4,
              dictKey: 2,
              dictTag: '\u5E02\u7EA7\u516C\u53F8'
            }
          ]
        },
        {
          cmntStr: '\u8868\u793A\u662F\u5426\u4E3A\u7CFB\u7EDF\u89D2\u8272',
          dictId: 5,
          dictNm: '\u89D2\u8272\u7C7B\u578B',
          dictStatus: 0,
          dictType: 'sys_role_type',
          sysDict: true,
          sysDictDataDTOS: [
            {
              cmntStr: '',
              dictDataId: 9,
              dictDataStatus: 0,
              dictId: 5,
              dictKey: 0,
              dictTag: '\u975E\u7CFB\u7EDF\u89D2\u8272'
            },
            {
              cmntStr: '',
              dictDataId: 10,
              dictDataStatus: 0,
              dictId: 5,
              dictKey: 1,
              dictTag: '\u7CFB\u7EDF\u89D2\u8272'
            }
          ]
        },
        {
          cmntStr: '',
          dictId: 6,
          dictNm: '\u83DC\u5355\u7C7B\u578B',
          dictStatus: 0,
          dictType: 'sys_menu_type',
          sysDict: true,
          sysDictDataDTOS: [
            {
              cmntStr: '',
              dictDataId: 11,
              dictDataStatus: 0,
              dictId: 6,
              dictKey: 1,
              dictTag: '\u5206\u7C7B\u83DC\u5355'
            },
            {
              cmntStr: '',
              dictDataId: 12,
              dictDataStatus: 0,
              dictId: 6,
              dictKey: 2,
              dictTag: '\u529F\u80FD\u83DC\u5355'
            },
            { cmntStr: '', dictDataId: 13, dictDataStatus: 0, dictId: 6, dictKey: 3, dictTag: '\u64CD\u4F5C' },
            {
              cmntStr: '',
              dictDataId: 14,
              dictDataStatus: 0,
              dictId: 6,
              dictKey: 4,
              dictTag: '\u5916\u94FE\u83DC\u5355'
            }
          ]
        },
        {
          cmntStr: '',
          dictId: 7,
          dictNm: '\u83DC\u5355\u53EF\u89C1\u72B6\u6001',
          dictStatus: 0,
          dictType: 'sys_menu_visible',
          sysDict: true,
          sysDictDataDTOS: [
            { cmntStr: '', dictDataId: 15, dictDataStatus: 0, dictId: 7, dictKey: 0, dictTag: '\u9690\u85CF' },
            { cmntStr: '', dictDataId: 16, dictDataStatus: 0, dictId: 7, dictKey: 1, dictTag: '\u663E\u793A' }
          ]
        }
      ],
      msg: '\u64CD\u4F5C\u6210\u529F'
    }
  }
}
